package com.bootdo.repertory.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.repertory.dao.LendDao;
import com.bootdo.repertory.domain.LendDO;
import com.bootdo.repertory.service.LendService;



@Service
public class LendServiceImpl implements LendService {
	@Autowired
	private LendDao lendDao;
	
	@Override
	public LendDO get(Integer id){
		return lendDao.get(id);
	}
	
	@Override
	public List<LendDO> list(Map<String, Object> map){
		return lendDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return lendDao.count(map);
	}
	
	@Override
	public int save(LendDO lend){
		return lendDao.save(lend);
	}
	
	@Override
	public int update(LendDO lend){
		return lendDao.update(lend);
	}
	
	@Override
	public int remove(Integer id){
		return lendDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return lendDao.batchRemove(ids);
	}
	
}
